home *** CD-ROM | disk | FTP | other *** search
- /* ***** BEGIN LICENSE BLOCK *****
- * Version: NPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Netscape Public License
- * Version 1.1 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- * http://www.mozilla.org/NPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is mozilla.org code.
- *
- * The Initial Developer of the Original Code is
- * Netscape Communications Corporation.
- * Portions created by the Initial Developer are Copyright (C) 1998-1999
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Joe Hewitt (hewitt@netscape.com)
- * Jason Kersey (kerz@netscape.com)
- * Pierre Chanial (chanial@noos.fr)
- * Dean Tessman (dean_tessman@hotmail.com)
- * Blake Ross (blake@cs.stanford.edu)
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the NPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the NPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
- @import url("chrome://global/skin/");
-
- @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-
- #PersonalToolbar {
- min-height: 26px;
- }
-
- /* ::::: bookmark buttons ::::: */
-
- toolbarbutton.bookmark-item {
- margin: 0;
- min-width: 0;
- max-width: 13em;
- padding: 1px;
- }
-
- toolbarbutton.bookmark-item:hover:active,
- toolbarbutton.bookmark-item[open="true"] {
- padding: 1px;
- }
-
- .bookmark-item > .toolbarbutton-icon {
- width: 16px;
- height: 16px;
- margin: 0 3px 0 2px !important;
- }
-
- /* Prevent [mode="icons"] from hiding the label */
- .bookmark-item > .toolbarbutton-text {
- display: -moz-box !important;
- }
-
- .bookmark-item > .toolbarbutton-menu-dropmarker {
- display: none;
- }
-
- #wrapper-personal-bookmarks .toolbarpaletteitem-box[place="palette"] {
- list-style-image: url("chrome://browser/skin/icons/folder_closed.png") no-repeat !important;
- width: 16px;
- height: 16px;
- }
-
- .bookmarks-toolbar-customize {
- display: none;
- max-width: 15em !important;
- }
-
- toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-customize {
- display: -moz-box;
- }
-
- toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-overflow-items {
- visibility: hidden;
- }
-
- toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-items {
- visibility: hidden;
- }
-
- /* ::::: bookmark menus ::::: */
-
- menu.bookmark-item,
- menuitem.bookmark-item {
- min-width: 0;
- max-width: 26em;
- border-top: 1px solid transparent !important;
- border-bottom: 1px solid transparent !important;
- padding: 1px 2px;
- margin: -1px 0 0 0;
- }
-
- .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
- width: 16px;
- height: 16px;
- }
-
- /* ..... drag and drop styles ..... */
-
- .bookmark-item[dragover-left="true"] {
- -moz-border-left-colors: #000000;
- }
- .bookmark-item[dragover-right="true"] {
- -moz-border-right-colors: #000000;
- }
- .bookmark-item[dragover-top="true"] {
- -moz-border-top-colors: #000000;
- }
- .bookmark-item[dragover-bottom="true"] {
- -moz-border-bottom-colors: #000000;
- }
-
-
- /* ::::: bookmark items ::::: */
-
- .bookmark-item {
- list-style-image: url("chrome://browser/skin/icons/bookmark_item.png") !important;
- }
-
- .bookmark-item:hover {
- list-style-image: url("chrome://browser/skin/icons/bookmark_item-hov.png") !important;
- color: #7791B6 !important;
- background: #B6C8B9 !important;
- }
-
- .bookmark-item[container="true"] {
- list-style-image: url("chrome://browser/skin/icons/folder_closed.png") !important;
- margin-top: 2px;
- }
-
- .bookmark-item[open="true"],
- .bookmark-item[container="true"][open="true"] {
- list-style-image: url("chrome://browser/skin/icons/folder_open.png") !important;
- }
-
- /* livemarks have the same layout as folder-item, but in the browser-only livemark-item.png */
- /* only the folder icon has any effect for now, item icon is unused */
- .bookmark-item[livemark="true"] {
- list-style-image: url("chrome://browser/skin/icons/page-livemarks.png") !important;
- }
-
- .bookmark-item[livemark="true"][open="true"],
- .bookmark-item[type="menu"][livemark="true"][open="true"] {
- list-style-image: url("chrome://browser/skin/icons/page-livemarks-hov.png") !important;
- }
-
- .bookmark-item[type="menu"][livemark="true"] {
- list-style-image: url("chrome://browser/skin/icons/page-livemarks-hov.png") !important;
- margin: 1px 0;
- }
-
-
- /* ::::: Primary toolbar buttons ::::: */
-
- .toolbarbutton-1 {
- -moz-box-orient: vertical;
- min-width: 0;
- }
-
- .toolbarbutton-1 .toolbarbutton-icon {
- margin-right: 3px;
- }
-
- toolbar[mode="full"] .toolbarbutton-1,
- toolbar[mode="full"] .toolbarbutton-menubutton-button {
- min-width: 57px;
- }
-
- .toolbarbutton-1,
- .toolbarbutton-menubutton-button {
- padding: 2px;
- }
-
- .toolbarbutton-1:hover:active:not([disabled]),
- .toolbarbutton-1[open="true"],
- .toolbarbutton-menubutton-button:hover:active:not([disabled]),
- .toolbarbutton-menubutton-button[open="true"] {
- padding: 2px;
- }
-
- .toolbarbutton-1[checked="true"] {
- padding: 2px !important;
- }
-
- .toolbarbutton-1[type="menu-button"] {
- padding: 0px !important;
- }
-
- .toolbarbutton-menubutton-stack,
- .toolbarbutton-menubutton-button,
- .toolbarbutton-menubutton-stack:hover,
- .toolbarbutton-menubutton-button:hover,
- .toolbarbutton-menubutton-stack:hover:active,
- .toolbarbutton-menubutton-button:hover:active {
- margin: 0 !important;
- display: -moz-box;
- }
-
- toolbar[mode="icons"] .toolbarbutton-text {
- display: none;
- }
-
- toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker,
- toolbar[mode="text"] .toolbarbutton-icon {
- display: none;
- }
-
- toolbar[mode="text"] .toolbarbutton-text {
- padding-top: 3px !important;
- margin: 0 3px !important;
- }
-
- /* ::::: 32px primary toolbar buttons ::::: */
-
- /* Back button */
-
- #back-button {
- list-style-image: url("chrome://browser/skin/icons/back.png");
- -moz-image-region: rect(0px 32px 32px 0px);
- }
-
- #back-button:hover,
- #back-button[buttonover="true"] {
- -moz-image-region: rect(32px 32px 64px 0px);
- }
-
- #back-button[disabled="true"] {
- -moz-image-region: rect(64px 32px 96px 0px);
- }
-
- #back-button > .toolbarbutton-menubutton-dropmarker {
- margin-left: -9px !important;
- }
-
- /* Forward button */
-
- #forward-button {
- list-style-image: url("chrome://browser/skin/icons/forward.png");
- -moz-image-region: rect(0px 32px 32px 0px);
- }
-
- #forward-button:hover,
- #forward-button[buttonover="true"] {
- -moz-image-region: rect(32px 32px 64px 0px);
- }
-
- #forward-button[disabled="true"] {
- -moz-image-region: rect(64px 32px 96px 0px);
- }
-
- #forward-button > .toolbarbutton-menubutton-dropmarker {
- margin-left: -13px !important;
- margin-right: 2px;
- }
-
- /* Stop button */
-
- #stop-button {
- list-style-image: url("chrome://browser/skin/icons/stop.png");
- -moz-image-region: rect(0px 32px 32px 0px);
- }
-
- #stop-button:hover,
- #stop-button[buttonover="true"] {
- -moz-image-region: rect(32px 32px 64px 0px);
- }
-
- #stop-button[disabled="true"] {
- -moz-image-region: rect(64px 32px 96px 0px);
- }
-
- /* Reload button */
-
- #reload-button {
- list-style-image: url("chrome://browser/skin/icons/reload.png");
- -moz-image-region: rect(0px 32px 32px 0px);
- }
-
- #reload-button:hover,
- #reload-button[buttonover="true"] {
- -moz-image-region: rect(32px 32px 64px 0px);
- }
-
- #reload-button[disabled="true"] {
- -moz-image-region: rect(64px 32px 96px 0px);
- }
-
- /* Home button */
-
- #home-button {
- list-style-image: url("chrome://browser/skin/icons/home.png");
- -moz-image-region: rect(0px 32px 32px 0px);
- }
-
- #home-button:hover,
- #home-button[buttonover="true"] {
- -moz-image-region: rect(32px 32px 64px 0px);
- }
-
- /* Download manager button */
-
- #downloads-button {
- list-style-image: url("chrome://browser/skin/icons/downloads.png");
- -moz-image-region: rect(0px 32px 32px 0px);
- }
-
- #downloads-button:hover,
- #downloads-button[buttonover="true"] {
- -moz-image-region: rect(32px 32px 64px 0px);
- }
-
- #downloads-button[disabled="true"] {
- -moz-image-region: rect(64px 32px 96px 0px);
- }
-
- /* History sidebar button */
-
- #history-button {
- list-style-image: url("chrome://browser/skin/icons/history.png");
- -moz-image-region: rect(0px 32px 32px 0px);
- }
-
- #history-button:hover,
- #history-button[buttonover="true"],
- #history-button[checked="true"],
- #history-button[buttondown="true"] {
- -moz-image-region: rect(32px 32px 64px 0px);
- }
-
- #history-button[disabled="true"] {
- -moz-image-region: rect(64px 32px 96px 0px);
- }
-
- /* Bookmark sidebar button */
-
- #bookmarks-button {
- list-style-image: url("chrome://browser/skin/icons/bookmarks.png");
- -moz-image-region: rect(0px 32px 32px 0px);
- }
-
- #bookmarks-button:hover,
- #bookmarks-button[buttonover="true"],
- #bookmarks-button[checked="true"],
- #bookmarks-button[buttondown="true"] {
- -moz-image-region: rect(32px 32px 64px 0px);
- }
-
- #bookmarks-button[disabled="true"] {
- -moz-image-region: rect(64px 32px 96px 0px);
- }
-
- /* Print button */
-
- #print-button {
- list-style-image: url("chrome://browser/skin/icons/print.png");
- -moz-image-region: rect(0px 32px 32px 0px);
- }
-
- #print-button:hover,
- #print-button[buttonover="true"] {
- -moz-image-region: rect(32px 32px 64px 0px);
- }
-
- #print-button[disabled="true"] {
- -moz-image-region: rect(64px 32px 96px 0px);
- }
-
- /* New Tab button */
-
- #new-tab-button {
- list-style-image: url("chrome://browser/skin/icons/new_tab.png");
- -moz-image-region: rect(0px 32px 32px 0px);
- }
-
- #new-tab-button:hover,
- #new-tab-button[buttonover="true"] {
- -moz-image-region: rect(32px 32px 64px 0px);
- }
-
- #new-tab-button[disabled="true"] {
- -moz-image-region: rect(64px 32px 96px 0px);
- }
-
- /* New Window button */
-
- #new-window-button {
- list-style-image: url("chrome://browser/skin/icons/new_window.png");
- -moz-image-region: rect(0px 32px 32px 0px);
- }
-
- #new-window-button:hover,
- #new-window-button[buttonover="true"] {
- -moz-image-region: rect(32px 32px 64px 0px);
- }
-
- #new-window-button[disabled="true"] {
- -moz-image-region: rect(64px 32px 96px 0px);
- }
-
- /* Cut button */
-
- #cut-button {
- list-style-image: url("chrome://browser/skin/icons/cut.png");
- -moz-image-region: rect(0px 32px 32px 0px);
- }
-
- #cut-button:hover,
- #cut-button[buttonover="true"] {
- -moz-image-region: rect(32px 32px 64px 0px);
- }
-
- #cut-button[disabled="true"] {
- -moz-image-region: rect(64px 32px 96px 0px);
- }
-
- /* Copy button */
-
- #copy-button {
- list-style-image: url("chrome://browser/skin/icons/copy.png");
- -moz-image-region: rect(0px 32px 32px 0px);
- }
-
- #copy-button:hover,
- #copy-button[buttonover="true"] {
- -moz-image-region: rect(32px 32px 64px 0px);
- }
-
- #copy-button[disabled="true"] {
- -moz-image-region: rect(64px 32px 96px 0px);
- }
-
- /* Paste button */
-
- #paste-button {
- list-style-image: url("chrome://browser/skin/icons/paste.png");
- -moz-image-region: rect(0px 32px 32px 0px);
- }
-
- #paste-button:hover,
- #paste-button[buttonover="true"] {
- -moz-image-region: rect(32px 32px 64px 0px);
- }
-
- #paste-button[disabled="true"] {
- -moz-image-region: rect(64px 32px 96px 0px);
- }
-
- /* Mail button */
-
- #mail-button {
- list-style-image: url("chrome://browser/skin/icons/mails.png");
- -moz-image-region: rect(0px 32px 32px 0px);
- }
-
- #mail-button .toolbarbutton-menu-dropmarker {
- display: none;
- }
-
- #mail-button:hover,
- #mail-button[buttonover="true"] {
- -moz-image-region: rect(32px 32px 64px 0px);
- }
-
- #mail-button[disabled="true"] {
- -moz-image-region: rect(64px 32px 96px 0px);
- }
-
-
- /* ::::: 24px primary toolbar buttons ::::: */
-
- toolbar[iconsize="small"] .toolbarbutton-1 {
- -moz-box-orient: vertical;
- }
-
- toolbar[iconsize="small"] .toolbarbutton-1 .toolbarbutton-icon {
- margin-right: 3px;
- }
-
- toolbar[iconsize="small"] .toolbarbutton-1,
- toolbar[iconsize="small"] .toolbarbutton-menubutton-button {
- padding: 2px;
- }
-
- toolbar[iconsize="small"] .toolbarbutton-1:hover:active:not([disabled]),
- toolbar[iconsize="small"] .toolbarbutton-1[open="true"],
- toolbar[iconsize="small"] .toolbarbutton-menubutton-button:hover:active:not([disabled]),
- toolbar[iconsize="small"] .toolbarbutton-menubutton-button[open="true"] {
- padding: 2px;
- }
-
- toolbar[iconsize="small"] .toolbarbutton-1[checked="true"] {
- padding: 2px !important;
- }
-
- toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"] {
- padding: 0 !important;
- }
-
- toolbar[iconsize="small"] .toolbarbutton-menubutton-stack,
- toolbar[iconsize="small"] .toolbarbutton-menubutton-button,
- toolbar[iconsize="small"] .toolbarbutton-menubutton-stack:hover,
- toolbar[iconsize="small"] .toolbarbutton-menubutton-button:hover,
- toolbar[iconsize="small"] .toolbarbutton-menubutton-stack:hover:active,
- toolbar[iconsize="small"] .toolbarbutton-menubutton-button:hover:active {
- margin: 0 !important;
- display: -moz-box;
- }
-
- /* Back button */
-
- toolbar[iconsize="small"] #back-button {
- list-style-image: url("chrome://browser/skin/icons/back-small.png");
- -moz-image-region: rect(0px 24px 24px 0px);
- }
-
- toolbar[iconsize="small"] #back-button:hover,
- toolbar[iconsize="small"] #back-button[buttonover="true"] {
- -moz-image-region: rect(24px 24px 48px 0px);
- }
-
- toolbar[iconsize="small"] #back-button[disabled="true"] {
- -moz-image-region: rect(48px 24px 72px 0px);
- }
-
- toolbar[iconsize="small"] #back-button > .toolbarbutton-menubutton-dropmarker {
- margin-right: 2px !important;
- padding-left: 2px !important;
- }
-
- /* Forward button */
-
- toolbar[iconsize="small"] #forward-button {
- list-style-image: url("chrome://browser/skin/icons/forward-small.png");
- -moz-image-region: rect(0px 24px 24px 0px);
- }
-
- toolbar[iconsize="small"] #forward-button:hover,
- toolbar[iconsize="small"] #forward-button[buttonover="true"] {
- -moz-image-region: rect(24px 24px 48px 0px);
- }
-
- toolbar[iconsize="small"] #forward-button[disabled="true"] {
- -moz-image-region: rect(48px 24px 72px 0px);
- }
-
- toolbar[iconsize="small"] #forward-button > .toolbarbutton-menubutton-dropmarker {
- margin-right: 3px !important;
- padding-left: 2px !important;
- }
-
- /* Stop button */
-
- toolbar[iconsize="small"] #stop-button {
- list-style-image: url("chrome://browser/skin/icons/stop-small.png");
- -moz-image-region: rect(0px 24px 24px 0px);
- }
-
- toolbar[iconsize="small"] #stop-button:hover,
- toolbar[iconsize="small"] #stop-button[buttonover="true"] {
- -moz-image-region: rect(24px 24px 48px 0px);
- }
-
- toolbar[iconsize="small"] #stop-button[disabled="true"] {
- -moz-image-region: rect(48px 24px 72px 0px);
- }
-
- /* Reload button */
-
- toolbar[iconsize="small"] #reload-button {
- list-style-image: url("chrome://browser/skin/icons/reload-small.png");
- -moz-image-region: rect(0px 24px 24px 0px);
- }
-
- toolbar[iconsize="small"] #reload-button:hover,
- toolbar[iconsize="small"] #reload-button[buttonover="true"] {
- -moz-image-region: rect(24px 24px 48px 0px);
- }
- toolbar[iconsize="small"] #reload-button[disabled="true"] {
- -moz-image-region: rect(48px 24px 72px 0px);
- }
-
- /* Home button */
-
- toolbar[iconsize="small"] #home-button {
- list-style-image: url("chrome://browser/skin/icons/home-small.png");
- -moz-image-region: rect(0px 24px 24px 0px);
- }
-
- toolbar[iconsize="small"] #home-button:hover,
- toolbar[iconsize="small"] #home-button[buttonover="true"] {
- -moz-image-region: rect(24px 24px 48px 0px);
- }
-
- /* Download Manager button */
-
- toolbar[iconsize="small"] #downloads-button {
- list-style-image: url("chrome://browser/skin/icons/downloads-small.png");
- -moz-image-region: rect(0px 24px 24px 0px);
- }
-
- toolbar[iconsize="small"] #downloads-button:hover,
- toolbar[iconsize="small"] #downloads-button[buttonover="true"] {
- -moz-image-region: rect(24px 24px 48px 0px);
- }
-
- toolbar[iconsize="small"] #downloads-button[disabled="true"] {
- -moz-image-region: rect(48px 24px 72px 0px);
- }
-
- /* History Sidebar button */
-
- toolbar[iconsize="small"] #history-button {
- list-style-image: url("chrome://browser/skin/icons/history-small.png");
- -moz-image-region: rect(0px 24px 24px 0px);
- }
-
- toolbar[iconsize="small"] #history-button:hover,
- toolbar[iconsize="small"] #history-button[buttonover="true"],
- toolbar[iconsize="small"] #history-button[checked="true"],
- toolbar[iconsize="small"] #history-button[buttondown="true"] {
- -moz-image-region: rect(24px 24px 48px 0px);
- }
-
- toolbar[iconsize="small"] #history-button[disabled="true"] {
- -moz-image-region: rect(48px 24px 72px 0px);
- }
-
- /* Bookmark Sidebar button */
-
- toolbar[iconsize="small"] #bookmarks-button {
- list-style-image: url("chrome://browser/skin/icons/bookmarks-small.png");
- -moz-image-region: rect(0px 24px 24px 0px);
- }
-
- toolbar[iconsize="small"] #bookmarks-button:hover,
- toolbar[iconsize="small"] #bookmarks-button[buttonover="true"],
- toolbar[iconsize="small"] #bookmarks-button[checked="true"],
- toolbar[iconsize="small"] #bookmarks-button[buttondown="true"] {
- -moz-image-region: rect(24px 24px 48px 0px);
- }
-
- toolbar[iconsize="small"] #bookmarks-button[disabled="true"] {
- -moz-image-region: rect(48px 24px 72px 0px);
- }
-
- /* Print button */
-
- toolbar[iconsize="small"] #print-button {
- list-style-image: url("chrome://browser/skin/icons/print-small.png");
- -moz-image-region: rect(0px 24px 24px 0px);
- }
-
- toolbar[iconsize="small"] #print-button:hover,
- toolbar[iconsize="small"] #print-button[buttonover="true"] {
- -moz-image-region: rect(24px 24px 48px 0px);
- }
-
- toolbar[iconsize="small"] #print-button[disabled="true"] {
- -moz-image-region: rect(48px 24px 72px 0px);
- }
-
- /* New Tab button */
-
- toolbar[iconsize="small"] #new-tab-button {
- list-style-image: url("chrome://browser/skin/icons/new_tab-small.png");
- -moz-image-region: rect(0px 24px 24px 0px);
- }
-
- toolbar[iconsize="small"] #new-tab-button:hover,
- toolbar[iconsize="small"] #new-tab-button[buttonover="true"] {
- -moz-image-region: rect(24px 24px 48px 0px);
- }
-
- toolbar[iconsize="small"] #new-tab-button[disabled="true"] {
- -moz-image-region: rect(48px 24px 72px 0px);
- }
-
- /* New Window button */
-
- toolbar[iconsize="small"] #new-window-button {
- list-style-image: url("chrome://browser/skin/icons/new_window-small.png");
- -moz-image-region: rect(0px 24px 24px 0px);
- }
-
- toolbar[iconsize="small"] #new-window-button:hover,
- toolbar[iconsize="small"] #new-window-button[buttonover="true"] {
- -moz-image-region: rect(24px 24px 48px 0px);
- }
-
- toolbar[iconsize="small"] #new-window-button[disabled="true"] {
- -moz-image-region: rect(48px 24px 72px 0px);
- }
-
- /* Cut button */
-
- toolbar[iconsize="small"] #cut-button {
- list-style-image: url("chrome://browser/skin/icons/cut-small.png");
- -moz-image-region: rect(0px 24px 24px 0px);
- }
-
- toolbar[iconsize="small"] #cut-button:hover,
- toolbar[iconsize="small"] #cut-button[buttonover="true"] {
- -moz-image-region: rect(24px 24px 48px 0px);
- }
-
- toolbar[iconsize="small"] #cut-button[disabled="true"] {
- -moz-image-region: rect(48px 24px 72px 0px);
- }
-
- /* Copy button */
-
- toolbar[iconsize="small"] #copy-button {
- list-style-image: url("chrome://browser/skin/icons/copy-small.png");
- -moz-image-region: rect(0px 24px 24px 0px);
- }
-
- toolbar[iconsize="small"] #copy-button:hover,
- toolbar[iconsize="small"] #copy-button[buttonover="true"] {
- -moz-image-region: rect(24px 24px 48px 0px);
- }
-
- toolbar[iconsize="small"] #copy-button[disabled="true"] {
- -moz-image-region: rect(48px 24px 72px 0px);
- }
-
- /* Paste button */
-
- toolbar[iconsize="small"] #paste-button {
- list-style-image: url("chrome://browser/skin/icons/paste-small.png");
- -moz-image-region: rect(0px 24px 24px 0px);
- }
-
- toolbar[iconsize="small"] #paste-button:hover,
- toolbar[iconsize="small"] #paste-button[buttonover="true"] {
- -moz-image-region: rect(24px 24px 48px 0px);
- }
-
- toolbar[iconsize="small"] #paste-button[disabled="true"] {
- -moz-image-region: rect(48px 24px 72px 0px);
- }
-
- /* Mail button */
-
- toolbar[iconsize="small"] #mail-button {
- list-style-image: url("chrome://browser/skin/icons/mails-small.png");
- -moz-image-region: rect(0px 24px 24px 0px);
- }
-
- toolbar[iconsize="small"] #mail-button:hover,
- toolbar[iconsize="small"] #mail-button[buttonover="true"] {
- -moz-image-region: rect(24px 24px 48px 0px);
- }
-
- toolbar[iconsize="small"] #mail-button[disabled="true"] {
- -moz-image-region: rect(48px 24px 72px 0px);
- }
-
-
- /* ::::: fullscreen window controls ::::: */
-
- #window-controls {
- -moz-box-align: center;
- padding: 0 2px 0 4px;
- }
-
- #minimize-button {
- list-style-image: url("chrome://global/skin/icons/Minimize.gif");
- }
-
- #restore-button {
- list-style-image: url("chrome://global/skin/icons/Restore.gif");
- }
-
- #close-button{
- list-style-image: url("chrome://browser/skin/icons/close-button.png");
- }
-
- #close-button:hover, #close-button:hover:active {
- list-style-image: url("chrome://browser/skin/icons/close-button-hov.png") !important;
- }
-
-
- /* ::::: nav-bar-inner ::::: */
-
- #urlbar {
- -moz-appearance: none !important;
- background: url("chrome://global/skin/menulist/searchbar-startcap.png") no-repeat left center;
- border: none !important;
- margin: 0 6px !important;
- padding-left: 6px;
- }
-
- /* urlbar endcap */
-
- #urlbar>.autocomplete-history-dropmarker {
- border: none;
- width: 20px;
- -moz-appearance: none !important;
- -moz-box-align: center;
- -moz-box-pack: center;
- background: url("chrome://global/skin/menulist/searchbar-endcap.png") no-repeat right center;
- list-style-image: url("chrome://browser/skin/icons/url_dropmarker.png");
- -moz-image-region: rect(0px 16px 16px 0px);
- background-color: transparent;
- background-repeat: no-repeat;
- margin: 0px;
- min-height: 22px;
- }
-
- /* urlbar body */
-
- #urlbar>.autocomplete-textbox-container {
- -moz-appearance: none !important;
- background: url("chrome://global/skin/menulist/searchbar-text.png") repeat-x left center;
- padding: 2px 0px;
- }
-
- #urlbar > .autocomplete-history-dropmarker:hover,
- #urlbar > .autocomplete-history-dropmarker:hover:active {
- -moz-image-region: rect(16px 16px 32px 0px);
- }
-
- /* Make the searchbar wider */
-
- /* Seachbar startcap */
-
- #search-container {
- -moz-appearance: none !important;
- -moz-box-flex: 350 !important;
- border: none !important;
- background: url("chrome://global/skin/menulist/searchbar-startcap.png") no-repeat left center;
- margin: 0 2px;
- padding: 0 2px 0 6px;
- min-height: 22px;
- }
-
- #searchbar {
- -moz-box-flex: 350 !important;
- margin: 0;
- }
-
-
- /* ::::: page proxy icon ::::: */
-
- #page-proxy-deck,
- #page-proxy-favicon,
- #search-proxy-button,
- #page-proxy-button {
- width: 16px;
- height: 16px;
- }
-
- #page-proxy-deck {
- cursor: -moz-grab;
- margin: 1px 1px 1px 0;
- }
-
- #page-proxy-favicon {
- list-style-image: none;
- }
-
- #page-proxy-button {
- list-style-image: url("chrome://browser/skin/icons/bookmark_item.png") !important;
- }
-
- #page-proxy-button[pageproxystate="invalid"] {
- cursor: default;
- list-style-image: url("chrome://browser/skin/icons/bookmark_item-hov.png") !important;
- }
-
- statusbarpanel#statusbar-display {
- padding-left: 0;
- }
-
- /* ::::: autocomplete ::::: */
-
- .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
- color: #C0D1C1;
- }
-
-
- /* ::::: Go button ::::: */
-
- #go-button {
- list-style-image: url("chrome://browser/skin/icons/go.png");
- -moz-image-region: rect(0px 18px 19px 0px);
- margin: 1px 2px 0 0 !important;
- padding: 0 !important;
- }
-
- #go-button:hover,
- #go-button[buttonover="true"] {
- -moz-image-region: rect(19px 18px 38px 0px);
- }
-
- #go-button[disabled="true"] {
- -moz-image-region: rect(38px 18px 57px 0px);
- }
-
- #go-button > .toolbarbutton-text {
- display: none !important;
- }
-
- #sidebar {
- background-color: #C0D1C1;
- }
-
-
- /* ::::: content area ::::: */
-
- #status-bar {
- padding: 1px 0;
- }
-
- #security-button {
- list-style-image: url("chrome://browser/skin/icons/secure-dis.png");
- width: 25px;
- margin-left: 6px;
- }
-
- #security-button[level="high"] {
- list-style-image: url("chrome://browser/skin/icons/secure.png");
- }
-
- #security-button[level="low"] {
- list-style-image: url("chrome://browser/skin/secure_low.png");
- }
-
- #security-button[level="broken"] {
- list-style-image: url("chrome://browser/skin/security-broken.png");
- }
-
- /* XXXsw prevent margins of a value-less label from shifting the image */
- #security-button > label:not([value]) {
- display: none;
- }
-
- #page-report-button {
- list-style-image: url("chrome://browser/skin/icons/popup-blocked-dis.png");
- width: 25px;
- }
-
- #page-report-button[blocked] {
- list-style-image: url("chrome://browser/skin/icons/popup-blocked.png");
- }
-
- #page-theme-button {
- list-style-image: url("chrome://browser/skin/icons/page-themes-dis.png");
- width: 25px;
- }
-
- #page-theme-button[themes] {
- list-style-image: url("chrome://browser/skin/icons/page-themes.png");
- }
-
- #livemark-button {
- list-style-image: url("chrome://browser/skin/icons/page-livemarks-dis.png");
- width: 25px;
- }
-
- #livemark-button[livemarks] {
- list-style-image: url("chrome://browser/skin/icons/page-livemarks.png");
- }
-
-
- /* ::::: throbber ::::: */
-
- #navigator-throbber {
- -moz-appearance: none !important;
- -moz-user-focus: ignore;
- -moz-box-pack: center;
- list-style-image: url("chrome://browser/skin/icons/throbber.png");
- min-width: 0;
- height: 32px;
- margin: 0 6px !important;
- padding: 0 !important;
- background: transparent !important;
- border: none !important;
- }
-
- #navigator-throbber .button-box {
- background: none !important;
- padding: 0 !important;
- }
-
- #navigator-throbber[busy="true"] {
- list-style-image: url("chrome://browser/skin/icons/throbber.gif");
- height: 32px;
- }
-
- toolbar[iconsize="small"] #navigator-throbber,
- toolbar[mode="text"] #navigator-throbber {
- list-style-image: url("chrome://browser/skin/icons/throbber-small.png");
- height: 24px;
- }
-
- toolbar[iconsize="small"] #navigator-throbber[busy="true"],
- toolbar[mode="text"] #navigator-throbber[busy="true"] {
- list-style-image: url("chrome://browser/skin/icons/throbber-small.gif");
- height: 24px;
- }
-
- .tabs-closebutton > .toolbarbutton-icon {
- margin: 0 0 0 3px !important;
- padding-right: 2px !important;
- }
-
- .tabs-closebutton {
- -moz-appearance: none !important;
- list-style-image: url("chrome://browser/skin/icons/close-button.png");
- border: none !important;
- margin: 0;
- padding: 0 !important;
- }
-
- .tabs-closebutton:hover,
- .tabs-closebutton:hover:active {
- list-style-image: url("chrome://browser/skin/icons/close-button-hov.png");
- }
-
- #sidebar-box .tabs-closebutton {
- margin: 1px 0 !important;
- padding: 0 !important;
- }
-
- #FindToolbar > .tabs-closebutton {
- padding-left: 3px !important;
- }
-
- toolbarbutton.chevron {
- list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
- }
-
- toolbarbutton.chevron > .toolbarbutton-text {
- display: none; /* hide chevron label */
- }
-
- toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
- display: none;
- }
-
- toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
- display: -moz-box; /* display chevron icon in text mode */
- }
-
- toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
- display: -moz-box;
- }
-
- toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-text {
- display: none;
- }
-
- #sidebar-throbber[loading="true"] {
- list-style-image: url("chrome://global/icons/loading.gif");
- }
-
- #urlbar[level="high"] > .autocomplete-textbox-container,
- #urlbar[level="low"] > .autocomplete-textbox-container,
- #urlbar[level="broken"] > .autocomplete-textbox-container {
- background-color: #F5F6BE;
- color: #000000;
- }
-
- #urlbar[level="high"] > .autocomplete-textbox-container > .info-icon {
- list-style-image: url("chrome://browser/skin/secure.png");
- }
- #urlbar[level="low"] > .autocomplete-textbox-container > .info-icon {
- list-style-image: url("chrome://browser/skin/secure-low.png");
- }
- #urlbar[level="broken"] > .autocomplete-textbox-container > .info-icon {
- list-style-image: url("chrome://browser/skin/security-broken.png");
- }
-
-
- /* ::::: Find Toolbar - to be deleted ::::: */
-
- #FindToolbar {
- border: 2px solid;
- -moz-border-top-colors: #A6B7A9 #DBE8DD;
- -moz-border-right-colors: #DBE8DD #A6B7A9;
- -moz-border-bottom-colors: #DBE8DD #A6B7A9;
- -moz-border-left-colors: #A6B7A9 #DBE8DD;
- -moz-border-radius: 2px;
- padding-bottom: 1px;
- background-image : url("chrome://browser/skin/bg.png") !important;
- }
-
- /* Find-next button */
- #find-next {
- list-style-image: url("chrome://browser/skin/icons/find-next.png");
- -moz-image-region: rect(0px 16px 16px 0px);
- padding: 0 4px;
- border-right: 1px solid #A6B7A9;
- }
-
- #find-next:hover {
- -moz-image-region: rect(16px 16px 32px 0px);
- }
-
- #find-next[disabled="true"] {
- -moz-image-region: rect(32px 16px 48px 0px) !important;
- }
-
- /* Find-previous button */
- #find-previous {
- list-style-image: url("chrome://browser/skin/icons/find-prev.png");
- -moz-image-region: rect(0px 16px 16px 0px);
- padding: 0 4px;
- border-right: 1px solid #A6B7A9;
- }
-
- #find-previous:hover {
- -moz-image-region: rect(16px 16px 32px 0px);
- }
-
- #find-previous[disabled="true"] {
- -moz-image-region: rect(32px 16px 48px 0px) !important;
- }
-
- /* Highlight button */
- #highlight {
- list-style-image: url("chrome://browser/skin/icons/find-highlight.png");
- -moz-image-region: rect(0px 16px 16px 0px);
- padding: 0 4px;
- }
-
- #highlight:hover, #highlight:active,
- #highlight[checked="true"],
- #highlight[checked="true"]:hover {
- -moz-image-region: rect(16px 16px 32px 0px);
- }
-
- #highlight[disabled="true"] {
- -moz-image-region: rect(32px 16px 48px 0px) !important;
- }
-
- #find-status-icon {
- list-style-image: none;
- margin-left: 20px;
- width: 16px;
- height: 16px;
- }
-
- #find-status-icon[status="notfound"] {
- list-style-image: url("chrome://browser/skin/icons/find-notfound.png");
- }
-
- #find-status { margin: 1px 0px 0px 5px; }
-
- #find-field {
- -moz-appearance: none;
- border: none;
- margin: 0px;
- }
-
- #find-field[status="notfound"] {
- background-color: #E51616;
- color: white;
- }
-
- #FindToolbar[flash="true"] > #find-field-container > #find-field {
- background-color: #7FFF00;
- }
-
- #find-status-icon[status="wrapped"] {
- list-style-image: url("chrome://browser/skin/icons/find-wrap.png");
- }
-
- #find-field-container {
- -moz-appearance: none;
- border: 2px solid;
- -moz-border-top-colors: #A6B7A9 #DBE8DD;
- -moz-border-right-colors: #DBE8DD #A6B7A9;
- -moz-border-bottom-colors: #DBE8DD #A6B7A9;
- -moz-border-left-colors: #A6B7A9 #DBE8DD;
- -moz-border-radius: 2px;
- }
-